class Task(object):
    def __init__(self, name, file):
        self.name = name
        self.file = file

class Permissions(object):
    def __init__(self, path, owner, group, mode):
        self.path = path
        self.owner = owner
        self.group = group
        self.mode = mode

def create(path, owner, group, mode):
    file = Permissions(path, owner, group, mode)
    task = Task("Change Permissions for "+path, vars(file))

    return vars(task)
